package com.epam.web_project.bank.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Transaction {
	private int id;
	private String partnerCardNumber;
	private String partnerName;
	private int accountFromId;
	private int accountToId;
	private BigDecimal amountSent;
	private BigDecimal amountReceived;
	private Currency currency;
	private Timestamp date;
	private String note;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getAccountFromId() {
		return accountFromId;
	}
	public void setAccountFromId(int accountFromId) {
		this.accountFromId = accountFromId;
	}
	public int getAccountToId() {
		return accountToId;
	}
	public void setAccountToId(int accountToId) {
		this.accountToId = accountToId;
	}
	public BigDecimal getAmountSent() {
		return amountSent;
	}
	public void setAmountSent(BigDecimal amountSent) {
		this.amountSent = amountSent;
	}
	public BigDecimal getAmountReceived() {
		return amountReceived;
	}
	public void setAmountReceived(BigDecimal amountReceived) {
		this.amountReceived = amountReceived;
	}
	public Timestamp getDate() {
		return date;
	}
	public void setDate(Timestamp date) {
		this.date = date;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public String getPartnerCardNumber() {
		return partnerCardNumber;
	}
	public void setPartnerCardNumber(String partnerCardNumber) {
		this.partnerCardNumber = partnerCardNumber;
	}
	public String getPartnerName() {
		return partnerName;
	}
	public void setPartnerName(String partnerName) {
		this.partnerName = partnerName;
	}
	public Currency getCurrency() {
		return currency;
	}
	public void setCurrency(Currency currency) {
		this.currency = currency;
	}
}
